package ascript.utilities
{
	//#########################
	// Header Includes
	//#########################
	import ascript.utilities.PointSimple;
	import flash.media.Sound;
	
	//#########################
	// Class Declaration
	//#########################
	public class SoundTemplate
	{
		//=========================
		// Variables
		//=========================
		// Publics
		public var sound:Sound;
		public var channelRange:PointSimple;
		public var isForced:Boolean;
		public var isGameTime:Boolean;
		public var delay:Number;
		public var duration:Number;
		public var volume:Number;
		
		//=========================
		// Initialization
		//=========================	
		public function SoundTemplate( tSound:Sound, tChannelRange:PointSimple, tIsForced:Boolean, tIsGameTime:Boolean, tDelay:Number, tDuration:Number, tVolume:Number ):void
		{
			sound = tSound;
			channelRange = tChannelRange;
			isForced = tIsForced;
			isGameTime = tIsGameTime;
			delay = tDelay;
			duration = tDuration;
			volume = tVolume;
		}
		
		public function cloneTemplate():SoundTemplate
		{
			return new SoundTemplate( sound, channelRange, isForced, isGameTime, delay, duration, volume );
		}
	}
}